import Vue from 'vue'
import Router from 'vue-router'
import goods from '../components/goods/goods'
import ratings from '../components/ratings/ratings'
import seller from '../components/seller/seller'
import Home from '../components/home/Home'
import shoper from '../components/shoper'
import City from '../components/city/City'

Vue.use(Router)

const routes = [{
  path: '/',
  component: Home
},
{
  path: '/city',
  component: City
}, {
  path: '/shoper',
  component: shoper
}, {
  path: '/goods',
  component: goods
}, {
  path: '/ratings',
  component: ratings
}, {
  path: '/seller',
  component: seller
}]

export default new Router({
  linkActiveClass: 'active',
  routes
})
